﻿namespace LocalNas.Core.SeedData
{
    public class SysUserSeedData : ISqlSugarEntitySeedData<SysUser>
    {
        /// <summary>
        /// 种子数据
        /// </summary>
        /// <returns></returns>
        public IEnumerable<SysUser> HasData()
        {
            return new[]
            {
            new SysUser{ Id=252885263000000, Account="admin", Password="e10adc3949ba59abbe56e057f20f883e", Name="超级管理员", Image="", UserType=UserTypeEnum.超级管理员, CreateTime=DateTime.Parse("2022-02-10 00:00:00")},
            new SysUser{ Id=252885263000010, Account="guest", Password="e10adc3949ba59abbe56e057f20f883e", Name="访客",  Image="", UserType=UserTypeEnum.访客, CreateTime=DateTime.Parse("2022-02-10 00:00:00")},
             };
        }
    }
}
